package com.lanou.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class VipInfo {
    private Integer id;

    private String vipNo;

    private String vipAccount;

    private String vipPassword;

    private String vipType;

    private String idCard;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birthday;

    private String realName;

    private Date regDate;

    private Integer accPoint;

    private Double accSum;

    private Integer vipLevel;

    private String email;

    private Integer addrId;

    private Double sumMonney;

    private String phoneNo1;

    private String phoneNo2;

    //详细地址信息
    private String addrInfo;
    //省信息
    private String province;
    //市信息
    private String city;
    //省idcity
    private int provinceId;
    //市id
    private int cityId;

    private String startRegDate;
    private String lastRegDate;
    //银行名称
    private String bankName;
    //银行卡号
    private String bankCardNo;
    //银行卡类型
    private String bankType;



    public VipInfo() {
        super();
    }

    public String getBankType() {
        return bankType;
    }

    public void setBankType(String bankType) {
        this.bankType = bankType;
    }

    public String getBankCardNo() {
        return bankCardNo;
    }

    public void setBankCardNo(String bankCardNo) {
        this.bankCardNo = bankCardNo;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getStartRegDate() {
        return startRegDate;
    }

    public void setStartRegDate(String startRegDate) {
        this.startRegDate = startRegDate;
    }

    public String getLastRegDate() {
        return lastRegDate;
    }

    public void setLastRegDate(String lastRegDate) {
        this.lastRegDate = lastRegDate;
    }

    public int getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(int provinceId) {
        this.provinceId = provinceId;
    }

    public int getCityId() {
        return cityId;
    }

    public void setCityId(int cityId) {
        this.cityId = cityId;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getAddrInfo() {
        return addrInfo;
    }

    public void setAddrInfo(String addrInfo) {
        this.addrInfo = addrInfo;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getVipNo() {
        return vipNo;
    }

    public void setVipNo(String vipNo) {
        this.vipNo = vipNo == null ? null : vipNo.trim();
    }

    public String getVipAccount() {
        return vipAccount;
    }

    public void setVipAccount(String vipAccount) {
        this.vipAccount = vipAccount == null ? null : vipAccount.trim();
    }

    public String getVipPassword() {
        return vipPassword;
    }

    public void setVipPassword(String vipPassword) {
        this.vipPassword = vipPassword == null ? null : vipPassword.trim();
    }

    public String getVipType() {
        return vipType;
    }

    public void setVipType(String vipType) {
        this.vipType = vipType == null ? null : vipType.trim();
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard == null ? null : idCard.trim();
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName == null ? null : realName.trim();
    }

    public Date getRegDate() {
        return regDate;
    }

    public void setRegDate(Date regDate) {
        this.regDate = regDate;
    }

    public Integer getAccPoint() {
        return accPoint;
    }

    public void setAccPoint(Integer accPoint) {
        this.accPoint = accPoint;
    }

    public Double getAccSum() {
        return accSum;
    }

    public void setAccSum(Double accSum) {
        this.accSum = accSum;
    }

    public Integer getVipLevel() {
        return vipLevel;
    }

    public void setVipLevel(Integer vipLevel) {
        this.vipLevel = vipLevel;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public Integer getAddrId() {
        return addrId;
    }

    public void setAddrId(Integer addrId) {
        this.addrId = addrId;
    }

    public Double getSumMonney() {
        return sumMonney;
    }

    public void setSumMonney(Double sumMonney) {
        this.sumMonney = sumMonney;
    }

    public String getPhoneNo1() {
        return phoneNo1;
    }

    public void setPhoneNo1(String phoneNo1) {
        this.phoneNo1 = phoneNo1 == null ? null : phoneNo1.trim();
    }

    public String getPhoneNo2() {
        return phoneNo2;
    }

    public void setPhoneNo2(String phoneNo2) {
        this.phoneNo2 = phoneNo2 == null ? null : phoneNo2.trim();
    }

    @Override
    public String toString() {
        return "VipInfo{" +
                "id=" + id +
                ", vipNo='" + vipNo + '\'' +
                ", vipAccount='" + vipAccount + '\'' +
                ", vipPassword='" + vipPassword + '\'' +
                ", vipType='" + vipType + '\'' +
                ", idCard='" + idCard + '\'' +
                ", birthday=" + birthday +
                ", realName='" + realName + '\'' +
                ", regDate=" + regDate +
                ", accPoint=" + accPoint +
                ", accSum=" + accSum +
                ", vipLevel=" + vipLevel +
                ", email='" + email + '\'' +
                ", addrId=" + addrId +
                ", sumMonney=" + sumMonney +
                ", phoneNo1='" + phoneNo1 + '\'' +
                ", phoneNo2='" + phoneNo2 + '\'' +
                ", addrInfo='" + addrInfo + '\'' +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", provinceId=" + provinceId +
                ", cityId=" + cityId +
                ", startRegDate='" + startRegDate + '\'' +
                ", lastRegDate='" + lastRegDate + '\'' +
                ", bankName='" + bankName + '\'' +
                ", bankCardNo='" + bankCardNo + '\'' +
                ", bankType='" + bankType + '\'' +
                '}';
    }
}